interface commonType {
  code: number
  message: string
  ok: boolean
}
//代表的是一个就诊人数据ts类型
export interface ofPatientDataType {
  id: number
  createTime: string
  updateTime: string
  isDeleted: number
  param: {
    certificatesTypeString: string
    contactsCertificatesTypeString: string
    cityString: null
    fullAddress: string
    districtString: null
    provinceString: null
  }
  userId: number
  name: number
  certificatesType: string
  certificatesNo: string
  sex: number
  birthdate: string
  phone: string
  isMarry: number
  provinceCode: null
  cityCode: null
  districtCode: null
  address: string
  contactsName: string
  contactsCertificatesType: string
  contactsCertificatesNo: string
  contactsPhone: string
  isInsure: number
  cardNo: null
  status: string
}

interface ofPatientType extends commonType {
  data: ofPatientDataType[]
}
export interface responeeOfPatientType {
  data: ofPatientType
}

interface ofPatient extends commonType {
  data: ofPatientDataType
}
export interface responeeOfPatient {
  data: ofPatient
}

//新增与修改已有的就诊人参数的数据ts类型
export interface AddOrUpdateUser {
  id?: string | number
  name: string
  certificatesType: string
  certificatesNo: string
  sex: number
  birthdate: string
  phone: string
  isMarry: number
  isInsure: number
  addressSelected: string[]
  address: string
  contactsName: string
  contactsCertificatesType: string
  contactsCertificatesNo: string
  contactsPhone: string
}
